import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    id:0,
    utype:0
  },
  mutations: {
    useid(state, id) {
      state.id = id;
    },
    utype(state,utype){
      state.utype=utype;
    }
  },
  actions: {
  },
  modules: {
  }
});
